package com.starter.knife4j.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;

/**
 * TODO: swagger配置类
 *
 * @author wuyijie
 * @date 2022/2/13 12:10 AM
 */
@Data
@ConfigurationProperties(prefix = SwaggerProperties.PREFIX)
public class SwaggerProperties implements Serializable {
    public static final String PREFIX = "common.swagger";

    public static boolean enable = true;

    private String title;

    private String concatName;
    private String concatUrl;
    private String concatEmail;

    private String version;

    private String license;

    private String licenseUrl;

    private String description;

    /**
     * swagger扫包路径。可以配置多个，逗号隔开。
     */
    private String basePackage = "com.wyj";


}
